<style type="text/css">
	.layui-tab{
		margin-left: 215px;
	}
</style>
<div class="layui-container fly-marginTop fly-user-main">
    
    {include file='common/menu'/}
	
	<div class="layui-tab layui-tab-brief" lay-filter="user">
	      <ul class="layui-tab-title" id="LAY_mine">
	        <li data-type="mine-jie" class="{$state == '' ? 'layui-this':''}">
				<a href="{:url('home/User/record')}">全部</a>
			</li>
	        <li data-type="collection" >
				<a href="{:url('home/User/record',['state'=> '1'])}" class="{$state == 1 ? 'layui-this':''}">发布</a>
			</li>
			<li data-type="collection" >
				<a href="{:url('home/User/record',['state'=> '2'])}" class="{$state == 2 ? 'layui-this':''}">采纳</a>
			</li>
			<li data-type="collection" >
			    <a href="{:url('home/User/record',['state'=> '3'])}" class="{$state == 3 ? 'layui-this':''}">充值</a>
			</li>
			<li data-type="collection" >
			    <a href="{:url('home/User/record',['state'=> '4'])}" class="{$state == 4 ? 'layui-this':''}">签到</a>
			</li>
	      </ul>
	      <div class="layui-tab-content" style="padding: 20px 0;">
	        <div class="layui-tab-item layui-show">
	          <ul class="mine-view jie-row">
				{foreach $RecordList as $item}
	            <li>
	              <a class="jie-title" href="../jie/detail.html" target="_blank">{$item.content}</a>
	              <!-- <i>获取了15积分</i> -->
				  {if condition='$item.state == "1"'}
	              <a class="mine-edit" href="/jie/edit/8116">发布</a>
				  {elseif condition='$item.state == "2"'}
				  <a class="mine-edit" href="/jie/edit/8116">采纳</a>
				  {elseif condition='$item.state == "3"'}
				  <a class="mine-edit" href="/jie/edit/8116">充值</a>
				  {elseif condition='$item.state == "4"'}
				  <a class="mine-edit" href="/jie/edit/8116">签到</a>
				  {/if}
				  <!-- <em>2017/3/14 上午8:30:00</em> -->
	            </li>
				{/foreach}
	          </ul>
	          <div id="LAY_page"></div>
	        </div>
	        <div class="layui-tab-item">
	          <ul class="mine-view jie-row">
	            <li>
	              <a class="jie-title" href="../jie/detail.html" target="_blank">基于 layui 的极简社区页面模版</a>
	              <i>收藏于23小时前</i>  </li>
	          </ul>
	          <div id="LAY_page1"></div>
	        </div>
	      </div>
	    </div>
</div>